﻿QWidget {
    font-size: 16px;
    font-family: "Microsoft YaHei";
}


QPushButton[flag="control"] {
    font-size: 20px;
    min-height: 40px;
    background-color: skyblue;
    border: 0px solid red;
    border-radius: 5px;
}

QCombobox {
    font-size: 20px;
    min-height: 25px;
}


QWidget#MainWindow {
    /*border-image: url(./Config/ServerGround.jpg);*/
}

QComboBox {
    color: #666666;
    font-size: 14px;
    padding: 1px 15px 1px 3px;
    border: 1px solid rgba(228,228,228,1);
    border-radius: 5px 5px 0px 0px;
}

QComboBox::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 15px;
    border: none;
}

QComboBox::drop-down {
    subcontrol-origin: padding;
    subcontrol-position: top right;
    width: 15px;
    border: none;
}

QComboBox::down-arrow, QDateEdit[calendarPopup="true"]::down-arrow, QTimeEdit[calendarPopup="true"]::down-arrow, QDateTimeEdit[calendarPopup="true"]::down-arrow {
    image: url(:qss/lightblue/add_bottom.png);
    width: 10px;
    height: 10px;
    right: 2px;
}

QLabel[state="off"] {
    padding: 4px 4px 2px 4px;
    background-color: rgb(170,0,0);
    border: 0px solid red;
    border-radius: 10px;
}

QLabel[state="on"] {
    padding: 4px 4px 2px 4px;
    background-color: rgb(0,170,0);
    border: 0px solid green;
    border-radius: 10px;
}

QLabel[state="num"] {
    color: rgb(0,170,200);
    background-color: white;
    font-size: 18px;
    border-radius: 2px;
    font-weight: bold;
    min-height: 20px;
    min-width: 20px;
    max-width: 50px;
    qproperty-alignment: AlignLeft,AlignVCenter;
}

QLabel[flag="device"] {
    font-size: 20px;
    qproperty-alignment: AlignLeft,AlignVCenter;
    font-weight: bold;
}



QLabel[state="err"] {
    color: white;
    background-color: rgb(170,0,0);
    font: 25px;
    font-weight: bold;
    border: 0px solid green;
    border-radius: 5px;
    margin: 2px;
    qproperty-alignment: AlignCenter;
}

QLabel[class="dtype"] {
    color: rgb(10,10,10);
    font: 25px;
    font-weight: bold;
    border: 0px solid green;
    border-radius: 5px;
    margin: 2px;
    qproperty-alignment: AlignLeft;
}


QLabel#lblTime{
    font-family:"Microsoft YaHei";
    font:40px;
    font-weight:bold;
	color:#000000;
	background-color: #ffffff;
	border-radius: 0px;
	margin:4px 4px 4px 4px;
}



